<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>javascript 阶段</title>
</head>
<body>


    <script>
        // const promise = new Promise((resolve , reject) => {
        //     console.log(1)
        //     resolve()
        //     console.log(2)
        // })
        // promise.then(() => {
        //     console.log(3)
        // })
        // console.log(4)

        let a = {x:"111"}
        let b = a;
        b.x = "cccc";
        console.log(a.x);
    </script>
</body>
</html>